package com.gdyx.app.web.svc;

import com.gdyx.app.web.model.MpsDept;

import java.util.List;
import java.util.Map;

/**
 * Created by Y_Coffee on 2017/8/4.
 */
public interface MpsDeptSvc {
    void save(MpsDept o, String uid);

    void saveOrUpdate(MpsDept o);

    void delete(String id);

    void update(MpsDept o, String uid);

    int count(Map<String, Object> m);

    MpsDept findMpsDeptById(String id);

    List<MpsDept> findMpsDepts(Map<String, Object> m);

    List<MpsDept> findMpsDeptByOId(String id);
}
